x86emul: extend MASKMOV{Q,DQU} tests
authorJan Beulich <jbeulich@suse.com>
Tue, 4 Sep 2018 09:29:22 +0000 (11:29 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 4 Sep 2018 09:29:22 +0000 (11:29 +0200)
commitd2581b7b3ddb1861b1c06993503363a5f04cf689
tree34b36907c419ab32e56bb1f4c4a27a5d0749f502
parent31c941cc2b606ed34f8743094db19ce8f0880138
x86emul: extend MASKMOV{Q,DQU} tests

While deriving the first AVX512 pieces from existing code I've got the
(in the end wrong) impression that the emulation of these insns would be
broken. Besides testing that the instructions act as no-ops when the
controlling mask bits are all zero, add ones to also check that the data
merging actually works.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/tests/x86_emulator/test_x86_emulator.c